package com.zgkxzx.java.mutilThread.forkAndJoin;

/**
 * 创建者 zgkxzx
 * 日期   1/3/18
 * 描述
 */

public class Product {
    private String name;
    private double price;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Product{" +
                "name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
